<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <body>
        <ui:composition template="./WEB-INF/templates/noFooterTemplate.xhtml">
            <ui:define name="content">
                
                <h:form id="languageForm" enctype="multipart/form-data">
                    <p:panel widgetVar="languagePanel" id="languagePanel">
                       
                        <p:fileUpload id="videoUploader" label="#{messages.VideoTag}" styleClass="videoFileUpload autoFileUpload" auto="true" fileUploadListener="#{editVideoBean.testVideoFile}" invalidFileMessage="#{messages.InvalidVideoFormat}" allowTypes="/(\.|\/)(mp4|MP4|avi|AVI|mov|MOV|flv|FLV|m4a|M4A|3gp|3GP|mpg|MPG|mpeg|MPEG|ogg|OGG|swf|SWF|wav|WAF|webm|WEBM|3g2@3G2|aac|AAC|)$/"></p:fileUpload>
                    </p:panel>
                </h:form>
                
            </ui:define>

        </ui:composition>

    </body>
</html>
